package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.util.List;

@Data
public class LocaleInfo extends Model<LocaleInfo> {
    @TableId(type= IdType.AUTO)
    private Integer id;
    private Integer localeId;
    private String name;

    @TableField(exist = false)
    private List<LocaleInfo> localeInfoList;
}
